<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        .pic {
            width: 400px;
            height: 400px;
            margin: 100px auto;
            border: 1px solid #000;

            position: relative;

            overflow: hidden;
        }
        .info{
            width: 400px;
            height: 100px;
            background-color: crimson;

            position: absolute;

            opacity: 0.3;
            color: #dddddd;
            top: 400px;

            transition: all 500ms ease;
        }
        .pic:hover .info{
            top: 300px;
        }
    </style>
</head>
<body>
    <div class="pic">
        <img src="../images/cola.jpeg">
        <div class="info">
            <h3>something</h3>
            <p>somethingsomethingsomethingsomething</p>
        </div>
    </div>
</body>
</html>